<!DOCTYPE  html>
<html>
{include file="head.html"}
<body>
<div class="tabs-border">
	 <a class="item active" href="{$appadmin}?m=user_rank">等级管理</a> 
   <a class="item" href="{$appadmin}?m=user_rank&a=add">等级添加</a> 
</div>
<div class="main-body">
 <table class="tbs">
 	<thead>
  <tr>
   <td>id</td>
   <td>等级名称</td>
   <td>等级标识</td>
   <td>最低积分</td>
   <td>最高积分</td>
   <td>折扣</td>
<td>操作</td>
  </tr>
  </thead>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.rank_name}</td>
   <td><img src="{$c.logo|IMAGES_SITE}" width="30" /></td>
   <td>{$c.min_grade}</td>
   <td>{$c.max_grade}</td>
   <td>{$c.discount}%</td>
<td><a href="admin.php?m=user_rank&a=add&id={$c.id}">编辑</a> 
 
<a href="javascript:;" class="js-delete" url="admin.php?m=user_rank&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
 </div>
{include file="footer.html"}
</body>
</html>